<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>Using the Library</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Doc-O-Matic" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <link rel="STYLESHEET" href="default.css" type="text/css" />

<script type="text/javascript" src="scripts.js"></script>
</head>
<body class="Element700" onload="onBodyLoadEx('frames.html', 'topic', '00142.html');" onmousedown="onBodyMouseDown();">

<!-- Begin Popups -->

<!-- End Popups -->

<!-- Begin Page Header -->
<div class="Element710" id="areafixed">
<div class="Element94">
<a href="00007.html" target="topic">Driver Libraries Help</a> &gt; <a href="00137.html" target="topic">SPI Driver Library Help</a> &gt; <a href="00142.html" target="topic">Using the Library</a></div>
<div class="Element92">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element1">
MPLAB Harmony Core Help</div>
</td><td width="25%">
<div class="Element2">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00007.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element90">
<a href="00136.html" target="topic">Previous</a> | <a href="00137.html" target="topic">Up</a> | <a href="00127.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element96">
<a href="mailto:docerrors@microchip.com&subject=MPLAB Harmony Documentation Feedback (Topic ID: DRV SPI Using the Library Topic Title: Using the Library)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table><div class="Element5">
Using the Library</div>
</div>
</div>

<!-- End Page Header -->

<!-- Begin Client Area -->
<div class="Element720" id="areascroll">
<div class="Element721">

<!-- Begin Page Content -->
<a name="PageContent"></a><div class="Element58">
<a name="4465736372697074696F6E"></a><div class="Element11">
<div class="Element10">
<p class="Element10">
The SPI Driver can be used in 2 different modes:</p>
<ol class="Element630">
<li value="1" class="Element600">Asynchronous Mode.</li>
<li value="2" class="Element600">Synchronous Mode.</li>
</ol><p class="Element10">
&nbsp;</p>
<p class="Element10">
The following table describes which function is supported in which mode of SPI Driver:&nbsp;</p>
<p class="Element10">
&nbsp;</p><div class="Element63">
<div class="TableDiv">
<table cellspacing="0" class="Table4">
<tr>
<td class="Element65" valign="top" width="73%">
<div class="Element66">
Functions&nbsp;</div></td><td class="Element65" valign="top" width="14%">
<div class="Element66">
Asynchronous Mode&nbsp;</div></td><td class="Element65" valign="top" width="13%">
<div class="Element66">
Synchronous Mode&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00501.html" target="topic">DRV_SPI_Initialize</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
Yes&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
Yes&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00505.html" target="topic">DRV_SPI_Status</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
Yes&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
Yes&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00502.html" target="topic">DRV_SPI_Open</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
Yes&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
Yes&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00487.html" target="topic">DRV_SPI_Close</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
Yes&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
Yes&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00523.html" target="topic">DRV_SPI_TransferSetup</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
Yes&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
Yes&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00526.html" target="topic">DRV_SPI_WriteReadTransferAdd</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
Yes&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
No&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00528.html" target="topic">DRV_SPI_WriteTransferAdd</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
Yes&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
No&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00504.html" target="topic">DRV_SPI_ReadTransferAdd</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
Yes&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
No&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00522.html" target="topic">DRV_SPI_TransferEventHandlerSet</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
Yes&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
No&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00524.html" target="topic">DRV_SPI_TransferStatusGet</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
Yes&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
No&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00527.html" target="topic">DRV_SPI_WriteTransfer</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
No&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
Yes&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00503.html" target="topic">DRV_SPI_ReadTransfer</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
No&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
Yes&nbsp;</div></td></tr><tr>
<td class="Element67" valign="top" width="73%">
<div class="Element68">
<a href="00525.html" target="topic">DRV_SPI_WriteReadTransfer</a>&nbsp;</div></td><td class="Element67" valign="top" width="14%">
<div class="Element68">
No&nbsp;</div></td><td class="Element67" valign="top" width="13%">
<div class="Element68">
Yes&nbsp;</div></td></tr></table></div></div>
</div>
</div>
<a name="546F70696373"></a><div class="Element14">
Topics</div>
<div class="Element11">
<div class="Element10">
<div class="Element212">
<div class="TableDiv">
<table cellspacing="0" class="Table0">
<tr>
<td class="Element200" valign="top" width="35%">
<div class="Element201">
Name&nbsp;</div></td><td class="Element204" valign="top" width="65%">
<div class="Element205">
Description&nbsp;</div></td></tr><tr>
<td class="Element202" valign="top" width="35%">
<div class="Element203">
<a href="00127.html" target="topic">Abstraction Model</a>&nbsp;</div></td><td class="Element206" valign="top" width="65%">
<div class="Element207">
This section describes how the abstraction is modeled in software and introduces the library's interface.&nbsp;</div></td></tr><tr>
<td class="Element202" valign="top" width="35%">
<div class="Element203">
<a href="00128.html" target="topic">Asynchronous Mode</a>&nbsp;</div></td><td class="Element206" valign="top" width="65%">
<div class="Element207">
This section describes how to use SPI Driver in Asynchronous mode.&nbsp;</div></td></tr><tr>
<td class="Element202" valign="top" width="35%">
<div class="Element203">
<a href="00140.html" target="topic">Synchronous mode</a>&nbsp;</div></td><td class="Element206" valign="top" width="65%">
<div class="Element207">
This chapter describes how to use SPI Driver in Synchronous mode.&nbsp;</div></td></tr></table></div></div>
</div>
</div>
</div>
<!-- End Page Content -->

<!-- Begin Page Footer -->
<div class="Element95">
<a href="00007.html" target="topic">Driver Libraries Help</a> &gt; <a href="00137.html" target="topic">SPI Driver Library Help</a> &gt; <a href="00142.html" target="topic">Using the Library</a></div>
<div class="Element93">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element3">
MPLAB Harmony Core Help</div>
</td><td width="25%">
<div class="Element4">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00007.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element91">
<a href="00136.html" target="topic">Previous</a> | <a href="00137.html" target="topic">Up</a> | <a href="00127.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element97">
<a href="mailto:docerrors@microchip.com&subject=MPLAB Harmony Documentation Feedback (Topic ID: DRV SPI Using the Library Topic Title: Using the Library)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table></div>

<!-- End Page Footer -->
</div>
</div>

<!-- End Client Area -->
</body></html>